mixin todayinfoTabs(name, icon, num, checked)
  label
    input(type="radio", name="todayinfo-tabs", value=name, checked=checked, data-type=num)
    .cont
      img(src=`img/i-${icon}.png`, draggable="false")
      .name= name
      .num 1

.m-page#page-home
  #earth-timelabel.xj-tim
    .show.time-chose
      label
        input(type="radio",value="0",name="timea",checked)
        .txt 本周
      label
        input(type="radio",value="1",name="timea")
        .txt 本月
      label
        input(type="radio",value="2",name="timea")
        .txt 本年
    .time-wrap
      .time-limit
        .time-axis
          .axis-line
          .point-line
      a(href="javascript:;").time-prev
      a(href="javascript:;").time-next
      .circle-time
        .circle-con
          .img.clearfix
            img(src="img/time-img.png", alt="")
            img(src="img/time-img.png", alt="")
            img(src="img/time-img.png", alt="")
          .info
    img#home-report-btn(src="img/home-report.png", draggable="false")
  #home-report-mask
    img.left(src="img/home-left.png", draggable="false")
    img.right(src="img/home-left.png", draggable="false")
    .detail
      .cont
        img.close(src="img/home-close.png", draggable="false")
        .content
    .dshim0.shim.hide
    .dshim1.shim.hide
    .dshim2.shim.hide
  .todayinfo
    .head
      .title 今日情报
      a.more(href="#search") 更多>
      svg.num(height=28, width=120)
        defs
          linearGradient#grad(x1=0,y1=1,x2=0,y2=0)
            stop(offset=0,stop-color="#ffb924")
            stop(offset=1,stop-color="#ffdf9d")
        text(font-size=24,x=120,y=25,fill="url(#grad)",text-anchor="end", id="home-topic-all") 6123条
    .tabs
      +todayinfoTabs('标准', 'standard', 2, true)
      +todayinfoTabs('法规', 'law', 1)
      +todayinfoTabs('技术', 'code', 3)
      +todayinfoTabs('威胁', 'alert', 4)
      +todayinfoTabs('新闻事件', 'news', 5)
    .tabcont
  .lchart
    .lchart1(style="height: 160px;")
    .title(style="margin: 10px 0 20px;") 趋势分析
    .lchart2
    .title(style="margin: -10px 0 12px;") 国别占比
    .lchart3
    .title(style="margin: -10px 0 0;") 分类占比
  .rchart
    .title 今日情报状态
    .todaystatus
    .title 情报载体Top
    .topchart(style="height: 256px;")
    .title 情报热词
    .hotkws